const {
	Controller
} = require('uni-cloud-router')
const uniID = require('uni-id')

module.exports = class VipCardController extends Controller {
	async getVipCardList() {
		try{
			const {
				cityCode
			} = this.ctx.data
			let list = await this.service.vipCard.getVipCardList(cityCode)
			return {
				code: 200,
				result: list
			}
		}catch(e){
			return {
				code: 500,
				result: e.message
			}
		}
	}
}
